package com.kaifamiao.demo.d0803;

import java.util.Arrays;

public class Demo01 {

    public static void main(String[] args) {
        char[] chs = {'云','创','动','力','打','造','I','T','特','种','兵'};
        System.out.println(Arrays.toString(chs));

        // 字面量
        String str = "云创动力-开发喵";
        System.out.println(str);

        // JDK 15
        String s = """
                云创动力
                   开发喵
                """;

        System.out.println(s);


        // 字符串对象
        String s1 = new String("kfm");
        System.out.println(s1);


        System.out.println(str.toString());
        System.out.println(s1.toString());

    }
}
